f6b287fdee46e522aa4883c0436b43387ca0ed38,sdk/src/main/java/com/google/cloud/dataflow/sdk/io/BigQueryIO.java,Bound,getTableWithDefaultProject,#BigQueryOptions#,704
Before Change
if (table != null && Strings.isNullOrEmpty(table.getProjectId())) {
// If user does not specify a project we assume the table to be located in
// the default project.
table.setProjectId(bqOptions.getProject());
}
return table;
}
After Change
+ " in the table reference: {}", table);
return table;
}
if (Strings.isNullOrEmpty(table.get().getProjectId())) {
// If user does not specify a project we assume the table to be located in
// the default project.
TableReference ref = table.get();
ref.setProjectId(bqOptions.getProject());
return NestedValueProvider.of(StaticValueProvider.of(
toJsonString(ref)), new JsonTableRefToTableRef());
}
return table;
}